package chapte06.E24;
class Dog{
    String eat;
    Integer age;
    public <T> void show(T t){
        System.out.println(t);
    }
}

public class E24 {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.show("hello");
        dog.show("12");
        dog.show("12.5");
    }
}
